//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['Hozier & Allison Russell','The Cynthia Woods Mitchell Pavilion','Spring, TX','Thursday','5/2/2024','7:30 PM','6072041','Hozier---Allison-Russell-5-2-2024'],['Kenny Chesney','The Cynthia Woods Mitchell Pavilion','Spring, TX','Thursday','5/9/2024','7:30 PM','6239372','Kenny-Chesney-5-9-2024'],['21 Savage','The Cynthia Woods Mitchell Pavilion','Spring, TX','Thursday','5/16/2024','7:00 PM','6292375','21-Savage-5-16-2024'],['Brooks And Dunn','The Cynthia Woods Mitchell Pavilion','Spring, TX','Friday','5/17/2024','7:00 PM','6226976','Brooks-And-Dunn-5-17-2024'],['Boni's Dance','The Cynthia Woods Mitchell Pavilion','Spring, TX','Saturday','5/25/2024','5:00 PM','6408378','Boni-s-Dance-5-25-2024'],['Boni's Dance','The Cynthia Woods Mitchell Pavilion','Spring, TX','Sunday','5/26/2024','5:00 PM','6408379','Boni-s-Dance-5-26-2024'],['Dave Matthews Band','The Cynthia Woods Mitchell Pavilion','Spring, TX','Friday','5/31/2024','7:30 PM','6229384','Dave-Matthews-Band-5-31-2024'],['Maggie Rogers','The Cynthia Woods Mitchell Pavilion','Spring, TX','Saturday','6/1/2024','7:30 PM','6282006','Maggie-Rogers-6-1-2024'],['Noah Kahan','The Cynthia Woods Mitchell Pavilion','Spring, TX','Thursday','6/13/2024','8:00 PM','5948828','Noah-Kahan-6-13-2024'],['Alanis Morissette, Joan Jett And The Blackhearts & Morgan Wade','The Cynthia Woods Mitchell Pavilion','Spring, TX','Sunday','6/16/2024','7:00 PM','6071669','Alanis-Morissette--Joan-Jett-And-The-Blackhearts---Morgan-Wade-6-16-2024'],['Caifanes & Cafe Tacvba','The Cynthia Woods Mitchell Pavilion','Spring, TX','Friday','6/21/2024','7:30 PM','6148120','Caifanes---Cafe-Tacvba-6-21-2024'],['Foreigner, Styx & John Waite','The Cynthia Woods Mitchell Pavilion','Spring, TX','Saturday','6/22/2024','6:45 PM','6123913','Foreigner--Styx---John-Waite-6-22-2024'],['The Doobie Brothers & Robert Cray Band','The Cynthia Woods Mitchell Pavilion','Spring, TX','Sunday','6/30/2024','7:00 PM','6226830','The-Doobie-Brothers---Robert-Cray-Band-6-30-2024'],['Xscape, SWV, Mya, 702 & Total','The Cynthia Woods Mitchell Pavilion','Spring, TX','Saturday','7/6/2024','7:00 PM','6342911','Xscape--SWV--Mya--702---Total-7-6-2024'],['Cage The Elephant, Young The Giant & Bakar','The Cynthia Woods Mitchell Pavilion','Spring, TX','Friday','7/12/2024','6:30 PM','6297226','Cage-The-Elephant--Young-The-Giant---Bakar-7-12-2024'],['New Kids On The Block','The Cynthia Woods Mitchell Pavilion','Spring, TX','Saturday','7/13/2024','7:00 PM','6045196','New-Kids-On-The-Block-7-13-2024'],['Koe Wetzel','The Cynthia Woods Mitchell Pavilion','Spring, TX','Saturday','7/27/2024','7:00 PM','6353687','Koe-Wetzel-7-27-2024'],['Barbie: The Movie - In Concert','The Cynthia Woods Mitchell Pavilion','Spring, TX','Friday','8/2/2024','8:00 PM','6302530','Barbie--The-Movie---In-Concert-8-2-2024'],['Third Eye Blind, Yellowcard & Arizona','The Cynthia Woods Mitchell Pavilion','Spring, TX','Saturday','8/3/2024','6:30 PM','6203524','Third-Eye-Blind--Yellowcard---Arizona-8-3-2024'],['I Prevail & Halestorm','The Cynthia Woods Mitchell Pavilion','Spring, TX','Saturday','8/10/2024','6:00 PM','6303194','I-Prevail---Halestorm-8-10-2024'],['Limp Bizkit','The Cynthia Woods Mitchell Pavilion','Spring, TX','Sunday','8/11/2024','6:30 PM','6132031','Limp-Bizkit-8-11-2024'],['Deep Purple','The Cynthia Woods Mitchell Pavilion','Spring, TX','Saturday','8/17/2024','6:30 PM','6372230','Deep-Purple-8-17-2024'],['Stone Temple Pilots & Live','The Cynthia Woods Mitchell Pavilion','Spring, TX','Thursday','8/22/2024','7:00 PM','6327317','Stone-Temple-Pilots---Live-8-22-2024'],['Sammy Hagar & Loverboy','The Cynthia Woods Mitchell Pavilion','Spring, TX','Friday','8/23/2024','7:00 PM','6083805','Sammy-Hagar---Loverboy-8-23-2024'],['Earth, Wind and Fire & Chicago','The Cynthia Woods Mitchell Pavilion','Spring, TX','Saturday','8/24/2024','7:30 PM','6079787','Earth--Wind-and-Fire---Chicago-8-24-2024'],['Train, REO Speedwagon & Yacht Rock Revue','The Cynthia Woods Mitchell Pavilion','Spring, TX','Sunday','8/25/2024','7:00 PM','6239157','Train--REO-Speedwagon---Yacht-Rock-Revue-8-25-2024'],['Thirty Seconds to Mars & AFI','The Cynthia Woods Mitchell Pavilion','Spring, TX','Thursday','8/29/2024','6:30 PM','6071684','Thirty-Seconds-to-Mars---AFI-8-29-2024'],['Dan And Shay, Jake Owen & Dylan Marlowe','The Cynthia Woods Mitchell Pavilion','Spring, TX','Saturday','8/31/2024','7:00 PM','6276439','Dan-And-Shay--Jake-Owen---Dylan-Marlowe-8-31-2024'],['Imagine Dragons','The Cynthia Woods Mitchell Pavilion','Spring, TX','Friday','9/6/2024','7:00 PM','6396724','Imagine-Dragons-9-6-2024'],['Creed, 3 Doors Down & Finger Eleven','The Cynthia Woods Mitchell Pavilion','Spring, TX','Saturday','9/14/2024','7:00 PM','6045240','Creed--3-Doors-Down---Finger-Eleven-9-14-2024'],['Rob Zombie & Alice Cooper','The Cynthia Woods Mitchell Pavilion','Spring, TX','Sunday','9/15/2024','6:00 PM','6239198','Rob-Zombie---Alice-Cooper-9-15-2024'],['Five Finger Death Punch','The Cynthia Woods Mitchell Pavilion','Spring, TX','Thursday','9/19/2024','6:30 PM','6311978','Five-Finger-Death-Punch-9-19-2024'],['Glass Animals','The Cynthia Woods Mitchell Pavilion','Spring, TX','Saturday','9/21/2024','7:45 PM','6361302','Glass-Animals-9-21-2024'],['Kidz Bop Live','The Cynthia Woods Mitchell Pavilion','Spring, TX','Saturday','9/28/2024','6:00 PM','6220262','Kidz-Bop-Live-9-28-2024'],['Meghan Trainor & Paul Russell','The Cynthia Woods Mitchell Pavilion','Spring, TX','Sunday','10/13/2024','6:30 PM','6321814','Meghan-Trainor---Paul-Russell-10-13-2024'],['Korn','The Cynthia Woods Mitchell Pavilion','Spring, TX','Sunday','10/20/2024','6:30 PM','6343007','Korn-10-20-2024'],['Breaking Benjamin & Staind','The Cynthia Woods Mitchell Pavilion','Spring, TX','Thursday','10/24/2024','6:30 PM','6314440','Breaking-Benjamin---Staind-10-24-2024']],'Woodlands Pavilion','http://www.ticketnetwork.com/ticket/Woodlands-Pavilion-events.aspx');